import d2l

my_seq = list(range(35))
# for X, Y in d2l.seq_data_iter_random(my_seq, batch_size=2, num_steps=5):
#     print('X:', X, ',\nY:', Y)

for X, Y in d2l.seq_data_iter_sequential(my_seq, batch_size=2, num_steps=5):
    print('X:', X, '\nY:', Y)
